package cn.wolfcode.education.mapper;

import cn.wolfcode.education.domain.Trace;
import cn.wolfcode.education.query.QueryObject;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface TraceMapper {

    int insert(Trace record);

    List<Trace> selectAll();

    int queryForCount(QueryObject qo);

    List<Trace> queryForList(QueryObject qo);

    void audit(@Param("id") Long traceId, @Param("level") Long level, @Param("auditAssess") String auditAssess);
}